<div>
  <%="查看(#{@photo.view_count}) | 
  评论(#{@photo.comments.size})" %> 
</div>

<%@comments.each do |comment|%>
  <table width=600 >
    <tr>
      <td><b><%= comment.name %>:</b></td>
    </tr>
    <tr>
      <td><%=comment.content %></td>
    </tr>
  </table>
<%end%>
<%=will_paginate @comments,
  :remote_options =>{
  :url=>{:controller=>"/admin/album",
    :action=>'list_comments',
    :id=>@photo.id},
  :method =>:post
}%>